package com.zou.mall.member.enums;

import lombok.Getter;

/**
 * @author leonard
 * @date 2022/5/9
 * @Description 会员枚举类
 */
public enum MemberExceptionEnum {

    UNIVERSAL_EXCEPTION(50020,"exception"),
    PHONE_NUMBER_EXCEPTION(50021,"该电话号码已被注册"),
    USER_EXIST_EXCEPTION(50022,"该用户名已存在"),
    USER_MESSAGE_EXCEPTION(50023,"用户信息错误"),

    ;

    @Getter
    private Integer K;
    @Getter
    private String V;

    MemberExceptionEnum(Integer k, String v) {
        K = k;
        V = v;
    }
}
